﻿@inherits Blazorise.BarDropdownItem
<li class="@ClassNames" role="menuitem" @attributes="@Attributes">
    @if ( To != null )
    {
        <Blazorise.Link Style="@StyleNames" To="@To" Target="@Target" Title="@Title" Match="@Match" Attributes="@Attributes">
            @ChildContent
        </Blazorise.Link>
    }
    else
    {
        <a title="@Title" style="@StyleNames" @onclick="@ClickHandler" @attributes="@Attributes">
            @ChildContent
        </a>
    }
</li>